#!/usr/bin/env node

const fs = require('fs'),
      fileName = process.argv[2],
      log = console.log;
let fid = fs.openSync(fileName,'r'),
    buf;

//fs.readSync(fid,buf,0,size,0);
buf = fs.readFileSync(fid);


log(buf.toString('utf8'));

fs.closeSync(fid);

